package edu.zut.cs.software.propertymanagement.security.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import edu.zut.cs.software.base.domain.BaseEntity;


	@Table(name = "T_SECURITYAREA") // 声名数据库表	
	@Entity 
	public class Securityarea  extends BaseEntity{		
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		
		 @Column(name="NUMBER")
		 String number;
		@Column(name="USERNAME")
		  String username;
		 @Column(name="PHONE")
		 int phone;

		public String getUsername() {
			return username;
		}
		public void setUsername(String username) {
			this.username = username;
		}		
		public String getNumber() {
			return number;
		}
		public void setNumber(String number) {
			this.number = number;
		}
		public int getPhone() {
			return phone;
		}
		public void setPhone(int phone) {
			this.phone = phone;
		}
}
